package com.moetube.video.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 分类实体类
 * @author ccr
 * @version 1.1
 */
@Table(name = "category")
@Data
public class Category implements Serializable {
    //分类ID
    @Id
    private Integer id;
    //分类名称
    private String name;
    //是否显示(0\1)
    private String isShow;
    //是否导航(0\1)
    private String isMenu;
    //排序
    private Integer seq;
    //上级ID父ID
    private Integer parentId;
}
